<template>
  <div id="container">
    <el-table :data="campusList">
      <el-table-column prop="id" label="学期id" />
      <el-table-column prop="name" label="学期名称" />
      <el-table-column prop="english_name" label="英文名" />
      <el-table-column prop="course" label="创建时间" />
      <el-table-column prop="course" label="写入者" />
      <el-table-column label="操作"><el-button type="warning">修改</el-button><el-button type="danger">删除</el-button></el-table-column>
    </el-table>
    <el-button type="success">新添</el-button>
  </div>
</template>
<script>
export default {
  name: 'Semester',
  data() {
    return {
      campusList: [
        {
          name: '主校区',
          english_name: 'asafawfa',
          telephone: '18023649352'
        }
      ]
    }
  }
}
</script>
<style>
  #container {
    width: 80%;
    max-width: 100%;
    margin: 20px auto;
  }
</style>
